﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Common.Framework.GlobalEntities;
using ProductsServer.BL;
using Common.Services.ServiceContracts;
using System.Reflection;
using ProductsServer.DA;
using Common.Framework.GlobalEntities.DTO;

namespace ProductsServer.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "GlobalServices" in code, svc and config file together.
    public class GlobalServices : IGlobalServices
    {
        public string TestService()
        {
            return "Ok";
        }

        public LookupTableDTO GetLookupTable(string tableName)
        {
            BLLookupTables blLookups = new BL.BLLookupTables();
            return blLookups.GetLookupTable(tableName);           
        }

        
    }
}
